An Optimal Labeling Scheme for Ancestry Queries
نویسندگان
چکیده
An ancestry labeling scheme assigns labels (bit strings) to the nodes of rooted trees such that ancestry queries between any two nodes in a tree can be answered merely by looking at their corresponding labels. The quality of an ancestry labeling scheme is measured by its label size, that is the maximal number of bits in a label of a tree node. In addition to its theoretical appeal, the design of efficient ancestry labeling schemes is motivated by applications in web search engines. For this purpose, even small improvements in the label size are important. In fact, the literature about this topic is interested in the exact label size rather than just its order of magnitude. As a result, following the proposal of a simple interval-based ancestry scheme with label size 2 log2 n bits (Kannan et al., STOC ’88), a considerable amount of work was devoted to improve the bound on the size of a label. The current state of the art upper bound is log2 n + O( √ log n) bits (Abiteboul et al., SODA ’02) which is still far from the known log2 n+Ω(log log n) bits lower bound (Alstrup et al., SODA’03). In this paper we close the gap between the known lower and upper bounds, by constructing an ancestry labeling scheme with label size log2 n+O(log log n) bits. In addition to the optimal label size, our scheme assigns the labels in linear time and can support any ancestry query in constant time. ∗This research is supported in part by the ANR projects ALADDIN and PROSE, and by the INRIA project GANG. ar X iv :0 90 9. 27 33 v1 [ cs .D S] 1 5 Se p 20 09
منابع مشابه
Compact Ancestry Labeling Schemes for Trees of Small Depth
An ancestry labeling scheme labels the nodes of any tree in such a way that ancestry queries between any two nodes in a tree can be answered just by looking at their corresponding labels. The common measure to evaluate the quality of an ancestry labeling scheme is by its label size, that is the maximal number of bits stored in a label, taken over all n-node trees. The design of ancestry labelin...
متن کاملInformative Labeling Schemes for the Least Common Ancestor Problem
We address the problem of labeling the nodes of a tree such that one can determine the identifier of the least common ancestor of any two nodes by looking only at their labels. This problem has application in routing and in distributed computing in peer-to-peer networks. A labeling scheme using Θ(log n)-bit labels has been presented by Peleg. By engineering this scheme and a new one due to the ...
متن کاملA Simple and Optimal Ancestry Labeling Scheme for Trees
We consider ancestry labeling schemes: Given a rooted tree T , assign a binary string (label) to each node, such that given the labels of any two nodes, one can determine whether the first is an ancestor of the second in T . Recently, Fraigniaud and Korman [STOC’10] showed that such labels can be assigned using log n+O(log log n) bits per label, solving a long standing open question and matchin...
متن کاملOptimal distance labeling for interval graphs and related graphs families∗
A distance labeling scheme is a distributed graph representation that assigns labels to the vertices and enables to answer distance queries between any pair (x, y) of vertices by using only the labels of x and y. This paper presents an optimal distance labeling scheme with labels of O(log n) bits for the n-vertex interval graphs family. It improves by log n factor the best known upper bound of ...
متن کاملبهبود الگوریتم انتخاب دید در پایگاه داده تحلیلی با استفاده از یافتن پرس وجوهای پرتکرار
A data warehouse is a source for storing historical data to support decision making. Usually analytic queries take much time. To solve response time problem it should be materialized some views to answer all queries in minimum response time. There are many solutions for view selection problems. The most appropriate solution for view selection is materializing frequent queries. Previously posed ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/0909.2733 شماره
صفحات -
تاریخ انتشار 2009